
from django.conf.urls import url
from django.contrib import admin
from . import views
urlpatterns = [
    url(r'^admin/', admin.site.urls),
    # 注册页面处理
    url(r'^register/$', views.UserRegisterView.as_view(), name='register'),
    # 首页处理
    # url(r'^$', views.IndexVier.as_view()),
    # 登录页面处理
    url(r'^login/$', views.UserLoginView.as_view()),
    # 退出
    url(r'^logout/$', views.UserLogoutView.as_view()),
    # 用户中心
    url(r'^info/$', views.UserInfoView.as_view()),
    # 用户中心邮箱添加
    url(r'^emails/$', views.UserEmailView.as_view()),
    # 验证邮箱
    url(r'^emails/verification/$',views.UserEmailVerifyView.as_view()),
    # 修改密码
    url(r'^password/$',views.ChangPWDView.as_view())
]
